def composeWhere(qItems):
    temp = ""
    for item in qItems:
        temp += item + " AND "
    temp = temp.rstrip(" AND ")
    temp += " "
    return temp
    
def composeFrom(qItems):
    temp = " FROM "
    for item in qItems:
        temp += item + ","
    temp = temp.rstrip(",")
    temp += " "
    return temp